Skip to main content

TsgDXFPenLine

Unit: DXFConv

Description

This class defines a line of particular thickness. The class is ancestor for a range of CAD entities: TsgDXFLine, TsgDXFPoint, TsgDXFSolid etc.

Syntax

TsgDXFPenLine = class(TsgDXFPenEntity)

Properties

PropertiesDescription
ExtrusionThe property indicates direction to local axis z.
LineTypeThe property returns line type the TsgDXFLineType entity.
PointThe poroperty contains coordinates for the base point.
ZThickThe property contains offset by Z axis (Thickness in AutoCAD terms).
Derived from TsgDXFPenEntityDescription
PenThe property for reaching the TPen object, used for drawing.
Derived from TsgDXFEntityDescription
BoxThe property determines the 3d box embraced the entity.
ColorThe property gets or sets entity color.
ColorCADThe property gets or sets a color for drawing entities.
ComplexThe property determines whether a entity is populated with child entities.
ConverterThe property returns the TsgDXFConverter class object.
CountThe property indicates the total number of child entities.
EntitiesThe property lists all child entities.
EntTypeThe property indicates type of an entity.
HandleThe property is used for finding entity links.
LayerThe property points to layer, containing given primitive if this layer is given.
LineTypeThe property sets and gets line type for an entity.
LineTypeScaleThe property sets and gets the Linetype scale.
LineWeightThe property sets or gets line weight in millimeters.
PaperSpaceThe property indicates Model Space and Paper Space entity segregation.
SrcEndThe property indicates end position of the entity description in the source CAD file.
SrcStartThe property indicates start position of the entity description in the source CAD file.
VisibilityThe property sets and gets entities visibility.
VisibleThe property determines whether the component appears onscreen.

Methods

MethodsDescription
AssignEntityThe method copies properties of source entity to current entity.
DestroyFrees up internal TPen object before freeing this instance.
GetThicknessThe method returns entity's thickness.
SetLWeightThe method call SetLWeight to change line weight of the entity.
Derived from TsgDXFPenEntityDescription
CreateCreates an instance of the TsgDXFPenEntity object.
SetColorThe method changes the color used for drawing.
Derived from TsgDXFEntityDescription
AddEntityThe method adds a new child entity.
CloneThe method copies properties of source entity to current entity (include Handle).
DrawThe method generates the OnDraw event.
EntNameThe method returns an entity name.
GetBoxPointsThe method is used in drawing cycle for fast checking whether the entity must be drawn.
SetLTypeThe method sets line type of the entity.

Events

Derived from TsgDXFEntityDescription
OnDrawThe event occurs when the Draw method is called.